package com.pzhuweb.sgblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhuweb.sgblog.domain.dto.AddUserDto;
import com.pzhuweb.sgblog.domain.dto.UserDto;
import com.pzhuweb.sgblog.domain.dto.UserStatusDto;
import com.pzhuweb.sgblog.domain.entity.User;
import com.pzhuweb.sgblog.domain.utils.ResponseResult;

import java.util.List;

/**
 * @author 鄧浩奇
 * @classname SystemUserService
 * @description
 * @since 2023/8/18 18:00
 **/

public interface SystemUserService extends IService<User> {
    ResponseResult<?> getUserList(Integer pageNum, Integer pageSize, String userName, String phoneNumber, Integer status);

    ResponseResult<?> getUserInfo(Long id);

    ResponseResult<?> updateUser(UserDto userDto);

    ResponseResult<?> changeStatus(UserStatusDto statusDto);

    ResponseResult<?> addUser(AddUserDto addUserDto);

    ResponseResult<?> deleteUser(List<Long> id);
}
